<extend name="Public:base" />
<block name="content">
	<form id="validation-form" method="post">
    <style type="text/css">
        li{
            list-style: none;
        }
		table{
			text-align: center;
		}
		.mytableer tbody > tr > td{
			border: none;
		}
    </style>
	<div class="table-responsive">
		<table class="table table-striped table-bordered table-hover search-form">
			<thead>
			<th>目前总计登{$count}次
				<if condition="($type eq 'info')">
					<a href="{:U('User/info')}/user_id/{:I('user_id')}" class="btn btn-sm btn-primary radius5"/>返回</a>
				</if>
				<if condition="($type eq 'master')">
					<a href="{:U('Master/index')}" class="btn btn-sm btn-primary radius5"/>返回</a>
				</if>
			</th>
			</thead>
		</table>
	</div>
</form>
<div class="table-responsive">
	<table  class="table table-striped table-bordered table-hover" id="myable">
		<thead>
			<th style="text-align: center">序号</th>
			<th style="text-align: center">启动APP时间</th>
		</thead>
		<tbody>
			<volist name="login" id="vo">
			<tr>
				<td>{$key+1}</td>
				<td>{$vo.login_time}</td>
			</tr>
		</tbody>
		</volist>
	</table>
</div>



</block>
<block name="javascript">
<script>
$(function(){

	$("#search").click(function () {
        var url = $(this).attr('url');
        var query = $('.search-form').find('input,select').serialize();
        query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, '');
        query = query.replace(/^&/g, '');
        if (url.indexOf('?') > 0) {
            url += '&' + query;
        } else {
            url += '?' + query;
        }
        window.location.href = url;
    });

});
</script>
</block>